; vielen Dank an Tom 51

; in \ui_becker\480_272\ui\navigatemap_480_272.ui

; den untersten Button hinzufgen
<layer ui_GPSInfo z=30>
	<SPRITE xxx x=0 y=0 z=0 bmp="background_gpssettings.bmp">
	<TEXT   xxx template=txt text="GPS-reception:" x=12 y=5 w=180 valign="CENTER" fontsize=26>
	<TEXT   txt_gpsinfo template=txt x=200 y=5 z=10 w=270 fontsize=26 align="RIGHT" valign="CENTER">

	<TEXT   txt_Satellites template=txt text="Satellites:" x=12 y=38 valign="CENTER" fontsize=26>
	<TEXT   txt_SatellitesInView template=txt x=138 y=38 w=333 align="RIGHT" valign="CENTER" combined_textmodel="$gps.satellites_in_view$ / $gps.all_satellites_in_view$" fontsize=26>

	<TEXT   xxx template=txt text="Local Time:" x=12 y=77 w=110 valign="CENTER" color=#707070>
	<TEXT   xxx template=txt x=130 y=77 z=10 w=341 align="RIGHT" valign="CENTER" textmodel_time="gps.current_time" formatmodel="local.timeformat" visiblemodel="gps.valid" color=#707070 fixedwidthnumbers=1>
	
	<TEXT   xxx template=txt text="Latitude:"  x=12 y=102 w=110 valign="CENTER" color=#707070>
	<TEXT   xxx template=txt textmodel_wstr="gps.latitude_str" x=130 y=102 w=341 align="RIGHT" valign="CENTER" color=#707070>
	
	<TEXT   xxx template=txt text="Longitude:" x=12 y=127 w=110 valign="CENTER" color=#707070>
	<TEXT   xxx template=txt textmodel_wstr="gps.longitude_str" x=130 y=127 w=341 align="RIGHT" valign="CENTER" color=#707070>

	<BUTTON xxx  template=btn_fullbutton_3 align="CENTER" text="Close" onrelease='PREVSTATE'>

;*****************GpsInfo_raw_Data Button***locke_ry
   	 <BUTTON xxx x=440 y=240   bmp="btn_GpsInfo_raw_Data.bmp" onrelease='NEXTSTATE st_GPSInfo_raw_data'>
   	 <BUTTON xxx x=430 y=230  w=40 h=40 z=0  onrelease='NEXTSTATE st_GPSInfo_raw_data'>


</layer>


darunter folden Layer einfgen

; neue <layer ui_GPSInfo_raw_data z=30>
; ********* GPS raw data compilation modified from original iGO8 by Tom-51*******moddet locke_ry

<TEMPLATE txt_gpschannel   x=370 z=10 text="" font="tahoma" fontsize=10 color=#FFFFFF color2=#a00000>
<TEMPLATE level_gpschannel x=317 z=10 bmp="$prn_bg.spr">
<template sat_sparcle text="" x=-50 y=0 z=10 font="tahomabd" fontsize=9 color=#FFFFFF color2=#000000 GlowSize=1 align="center" w=20>

<layer ui_GPSInfo_raw_data z=30>

	<TEXT   xxx template=txt text="GPS-reception:" x=217 y=5 w=180 valign="CENTER" fontsize=26>
	; ++++ exit any-key on screen
	<BUTTON xxx x=0 y=0 z=0 bmp="background_sparcle_gps.bmp" onRelease='PREVSTATE'>

	<SPRITE xxx x=365 y=238 z=50 bmp="$minigps_color2.spr" phasemodel="gps.connection_status">
	<TEXT txt_SatellitesInView template=txt x=430 y=241 w=30 z=50 align="RIGHT" valign="CENTER" combined_textmodel="$gps.satellites_in_view$ / $gps.all_satellites_in_view$" fontsize=11 color=#FFFFFF color2=#000000 GlowSize=1>

	; 2do: wird wohl zentral gebraucht spter an die richtige Stelle und unten was lschen
	<TEXT txt_gpsinfo template=txt x=550 y=5 z=10 w=270 fontsize=26 align="RIGHT" valign="CENTER">

	<TEXT xxx text="Accuracy"   x=220 y=46  z=10 w=128 align="CENTER" fontsize=15 font="tahoma" color=#ffffff color2=#000000 glowsize=1 alpha=20>
	<TEXT xxx text="Elevation"  x=220 y=96  z=10 w=128 align="CENTER" fontsize=15 font="tahoma" color=#ffffff color2=#000000 glowsize=1 alpha=20>
	<TEXT xxx text="Speed"      x=220 y=146 z=10 w=128 align="CENTER" fontsize=15 font="tahoma" color=#ffffff color2=#000000 glowsize=1 alpha=20>
	<TEXT xxx text="GPS Time (GMT):" x=220 y=196 z=10 w=128 align="CENTER" fontsize=15 font="tahoma" color=#ffffff color2=#000000 glowsize=1 alpha=20>
	<TEXT xxx text="Latitude"   x=15  y=213 z=10 w=91  align="CENTER" fontsize=15 font="tahoma" color=#ffffff color2=#000000 glowsize=1 alpha=20>
	<TEXT xxx text="Longitude"  x=113 y=213 z=10 w=91  align="CENTER" fontsize=15 font="tahoma" color=#ffffff color2=#000000 glowsize=1 alpha=20>

	<TEXT xxx  x=220 y=68  z=10 w=128 align="CENTER" fontsize=15 font="tahomabd" color=#ffffff color2=#000000 glowsize=1 textmodel_wstr="gps.accuracy"   visiblemodel="gps.accuracy.valid">
	<TEXT xxx  x=220 y=118 z=10 w=128 align="CENTER" fontsize=15 font="tahomabd" color=#ffffff color2=#000000 glowsize=1 textmodel_wstr="gps.elevation" visiblemodel="gps.elevation.valid">
	<TEXT xxx  x=220 y=168 z=10 w=128 align="CENTER" fontsize=15 font="tahomabd" color=#ffffff color2=#000000 glowsize=1 textmodel_wstr="gps.speed"     visiblemodel="gps.speed.valid">
	<TEXT xxx  x=220 y=215 z=10 w=128 align="CENTER" fontsize=15 font="tahomabd" color=#ffffff color2=#000000 glowsize=1 textmodel_time="gps.time" formatmodel="local.timeformat" visiblemodel="gps.time.valid" dayperiod=1>
	<TEXT xxx  x=220 y=238 z=10 w=128 align="CENTER" fontsize=15 font="tahomabd" color=#ffffff color2=#000000 glowsize=1 textmodel_date="gps.date" formatmodel="local.dateformat" visiblemodel="gps.date.valid">
	<SPRITE xxx x=397 y=235 z=12 bmp="$gps_progress.spr" phasemodel="gps.connection_status" visiblemodel="gps.blink" hide>
	<TEXT xxx  x=15  y=237 z=10 w=91  align="CENTER" fontsize=15 font="tahomabd" color=#ffffff color2=#000000 glowsize=1 textmodel_wstr="gps.latitude_str" visiblemodel="gps.position_valid"  >
	<TEXT xxx  x=113 y=237 z=10 w=91  align="CENTER" fontsize=15 font="tahomabd" color=#ffffff color2=#000000 glowsize=1 textmodel_wstr="gps.longitude_str" visiblemodel="gps.position_valid" >

	<TEXT   l_prn1    template=txt_gpschannel   y=63>
	<TEXT   l_prn2    template=txt_gpschannel   y=78>
	<TEXT   l_prn3    template=txt_gpschannel   y=93>
	<TEXT   l_prn4    template=txt_gpschannel   y=108>
	<TEXT   l_prn5    template=txt_gpschannel   y=123>
	<TEXT   l_prn6    template=txt_gpschannel   y=138>
	<TEXT   l_prn7    template=txt_gpschannel   y=153>
	<TEXT   l_prn8    template=txt_gpschannel   y=168>
	<TEXT   l_prn9    template=txt_gpschannel   y=183>
	<TEXT   l_prn10   template=txt_gpschannel   y=198>
	<TEXT   l_prn11   template=txt_gpschannel   y=213>
	<TEXT   l_prn12   template=txt_gpschannel   y=228>

	<SPRITE spr_prn1  template=level_gpschannel y=66>
	<SPRITE spr_prn2  template=level_gpschannel y=81>
	<SPRITE spr_prn3  template=level_gpschannel y=96>
	<SPRITE spr_prn4  template=level_gpschannel y=111>
	<SPRITE spr_prn5  template=level_gpschannel y=126>
	<SPRITE spr_prn6  template=level_gpschannel y=141>
	<SPRITE spr_prn7  template=level_gpschannel y=156>
	<SPRITE spr_prn8  template=level_gpschannel y=171>
	<SPRITE spr_prn9  template=level_gpschannel y=186>
	<SPRITE spr_prn10 template=level_gpschannel y=168>
	<SPRITE spr_prn11 template=level_gpschannel y=183>
	<SPRITE spr_prn12 template=level_gpschannel y=231>

	<SPRITE xxx x=81 y=-108 z=80 bmp="$compass.spr" rotatemodel="gps.rotation" visiblemodel="gps.position_valid" hide>

	<SPRITE sat1  x=-50 y=0 z=10 bmp="sat.spr">
	<SPRITE sat2  x=-50 y=0 z=10 bmp="sat.spr">
	<SPRITE sat3  x=-50 y=0 z=10 bmp="sat.spr">
	<SPRITE sat4  x=-50 y=0 z=10 bmp="sat.spr">
	<SPRITE sat5  x=-50 y=0 z=10 bmp="sat.spr">
	<SPRITE sat6  x=-50 y=0 z=10 bmp="sat.spr">
	<SPRITE sat7  x=-50 y=0 z=10 bmp="sat.spr">
	<SPRITE sat8  x=-50 y=0 z=10 bmp="sat.spr">
	<SPRITE sat9  x=-50 y=0 z=10 bmp="sat.spr">
	<SPRITE sat10 x=-50 y=0 z=10 bmp="sat.spr">
	<SPRITE sat11 x=-50 y=0 z=10 bmp="sat.spr">
	<SPRITE sat12 x=-50 y=0 z=10 bmp="sat.spr">
	<TEXT l_sat1  template=sat_sparcle hide alpha=0>
	<TEXT l_sat2  template=sat_sparcle hide alpha=0>
	<TEXT l_sat3  template=sat_sparcle hide alpha=0>
	<TEXT l_sat4  template=sat_sparcle hide alpha=0>
	<TEXT l_sat5  template=sat_sparcle hide alpha=0>
	<TEXT l_sat6  template=sat_sparcle hide alpha=0>
	<TEXT l_sat7  template=sat_sparcle hide alpha=0>
	<TEXT l_sat8  template=sat_sparcle hide alpha=0>
	<TEXT l_sat9  template=sat_sparcle hide alpha=0>
	<TEXT l_sat10 template=sat_sparcle hide alpha=0>
	<TEXT l_sat11 template=sat_sparcle hide alpha=0>
	<TEXT l_sat12 template=sat_sparcle hide alpha=0>
</layer>

; **************************


;in \ui_becker\common\ui\navigatemap.ui


;folgenden Absatz suchen:

<state st_GPSInfo>
	<uselayer ui_Background/>
	<uselayer ui_Footer/>
	<uselayer ui_Shader/>
	<uselayer ui_GPSInfo/>

	<script init>
	</script>

	<script done>
	</script>

</state>

;und darunter einfgen:

; ********* GPS raw data compilation modified from original iGO8 by Tom-51**moddet locke_ry

<state st_GPSInfo_raw_data>
	<uselayer ui_Background/>
	<uselayer ui_Footer/>
	<uselayer ui_Shader/>
	<uselayer ui_GPSInfo_raw_data/>
	<script init>
		register_satellite_display  "l_sat"  "sat"  "l_prn"  "spr_prn"
	</script>

	<script done>
		unregister_satellite_display  "l_sat"  "sat"  "l_prn"  "spr_prn"
	</script>

</state>

